package com.ssy.lingxi.order.model.vo.mobile.response;

import com.ssy.lingxi.order.model.constant.InvoiceKindEnum;
import com.ssy.lingxi.order.model.constant.InvoiceTypeEnum;

import java.io.Serializable;

/**
 * 订单发票信息
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-25
 */
public class MobileOrderInvoiceDetailVO implements Serializable {
    private static final long serialVersionUID = 2972132768131920979L;

    public MobileOrderInvoiceDetailVO(Integer invoiceKind, Integer invoiceType, String title, String taxNo, String bank, String account, String address, String phone) {
        this.invoiceKind = invoiceKind;
        this.invoiceKindName = InvoiceKindEnum.getNameByCode(invoiceKind);
        this.invoiceType = invoiceType;
        this.invoiceTypeName = InvoiceTypeEnum.getNameByCode(invoiceType);
        this.title = title;
        this.taxNo = taxNo;
        this.bank = bank;
        this.account = account;
        this.address = address;
        this.phone = phone;
    }

    /**
     * 发票种类，1-企业，2-个人
     */
    private Integer invoiceKind;

    /**
     * 发票种类名称
     */
    private String invoiceKindName;

    /**
     * 发票类型，1-增值税普通发票，2-增值税专用发票
     */
    private Integer invoiceType;

    /**
     * 发票种类名称
     */
    private String invoiceTypeName;

    /**
     * 发票台头
     */
    private String title;

    /**
     * 纳税号
     */
    private String taxNo;

    /**
     * 开户银行
     */
    private String bank;

    /**
     * 账号
     */
    private String account;

    /**
     * 地址
     */
    private String address;

    /**
     * 电话
     */
    private String phone;

    public Integer getInvoiceKind() {
        return invoiceKind;
    }

    public void setInvoiceKind(Integer invoiceKind) {
        this.invoiceKind = invoiceKind;
    }

    public String getInvoiceKindName() {
        return invoiceKindName;
    }

    public void setInvoiceKindName(String invoiceKindName) {
        this.invoiceKindName = invoiceKindName;
    }

    public Integer getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(Integer invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getInvoiceTypeName() {
        return invoiceTypeName;
    }

    public void setInvoiceTypeName(String invoiceTypeName) {
        this.invoiceTypeName = invoiceTypeName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTaxNo() {
        return taxNo;
    }

    public void setTaxNo(String taxNo) {
        this.taxNo = taxNo;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
